// 获取项目当中筛选相关
import requestProxy from '@/utils/request';

const { request } = requestProxy;

// 获取汇总表表筛选条件
export function getCollectOptions() {
  return request({
    url: '/admin/report/create/collect/options',
    method: 'get'
  });
}

// 获取字段选项列表
export function getFieldConditionItems() {
  return request({
    url: '/admin/field/fieldConditionItem',
    method: 'get'
  });
}

// 获取字段分类
export function getFieldCategory() {
  return request({
    url: '/admin/field/category/list',
    method: 'get'
  });
}

// 获取字段操作符列表
export function getFieldOperateCondition() {
  return request({
    url: '/admin/field/fieldConditionOption',
    method: 'get'
  });
}
